home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / os2 / memsz313.zip / SOURCE.ZIP / MEMSIZE.H < prev    next >
Text File  |  1996-03-12  |  6KB  |  139 lines

  1. /****************************************************************** MEMSIZE.H
  2.  *                                                                          *
  3.  *         Display memory size statistics, refreshed every second.          *
  4.  *                                                                          *
  5.  ****************************************************************************/
  6.  
  7. #ifndef MEMSIZE_H
  8. #define MEMSIZE_H
  9.  
  10. // #define USE_OS20MEMU         // Disable this for now, until the bug is resolved.
  11.  
  12. #define PROGRAM_NAME "MEMSIZE"
  13. #define CLASS_NAME   PROGRAM_NAME
  14. #define LOGFILE      PROGRAM_NAME ".LOG"
  15.  
  16. extern HMODULE LibraryHandle ;
  17.  
  18. #define ID_MAIN                            1
  19.  
  20. #define IDM_MENU                           10
  21. #define IDM_SAVE_APPLICATION               11
  22. #define IDM_RESET_DEFAULTS                 12
  23. #define IDM_HIDE_CONTROLS                  13
  24. #define IDM_CONFIGURE                      14
  25. #define   IDD_CONFIGURE                    140
  26. #define     IDD_CONFIG_HIDECONTROLS        1400
  27. #define     IDD_CONFIG_FLOAT               1401
  28. #define     IDD_CONFIG_ANIMATE             1402
  29. #define     IDD_CONFIG_FSNAME              1403
  30. #define     IDD_CONFIG_DLABEL              1404
  31. #define     IDD_CONFIG_SECONDS             1405
  32. #define     IDD_CONFIG_SHOWK_NEVER         1406
  33. #define     IDD_CONFIG_SHOWK_ABOVE512      1407
  34. #define     IDD_CONFIG_SHOWK_ALWAYS        1408
  35. #define     IDD_CONFIG_PRIORITY            1409
  36. #define     IDD_CONFIG_TIMER               1410
  37. #define     IDD_CONFIG_ITEMS               1411
  38. #define     IDD_CONFIG_BL                  1412
  39. #define     IDD_CONFIG_BR                  1413
  40. #define     IDD_CONFIG_TL                  1414
  41. #define     IDD_CONFIG_TR                  1415
  42. #define   IDD_LABEL                        142
  43. #define     IDD_LABEL_DEFLABEL             1420
  44. #define     IDD_LABEL_NEWLABEL             1421
  45. #define     IDD_LABEL_DEFAULT              1422
  46. #define IDM_RESETLOAD                      15
  47. #define IDM_COPY                           16
  48. #define IDM_ABOUT                          17
  49. #define   IDD_ABOUT                        170
  50. #define IDM_HELP                           18
  51.  
  52. #define IDM_EXIT                           98
  53. #define IDM_KEYS_HELP                      99
  54.  
  55. #define IDD_PROFILE_PATH                   9900
  56. #define   IDD_PROF_ENTRY                   9900
  57. #define   IDD_PROF_ERR                     9901
  58.  
  59. #define IDS_HELPTITLE                      0x0000
  60. #define IDS_TITLE                          0x0001
  61.  
  62. #define IDS_SAVE_APPLICATION               0x0002
  63. #define IDS_RESET_DEFAULTS                 0x0003
  64. #define IDS_HIDE_CONTROLS                  0x0004
  65. #define IDS_CONFIGURE                      0x0005
  66. #define IDS_RESETLOAD                      0x0006
  67. #define IDS_COPY                           0x0007
  68. #define IDS_ABOUT                          0x0008
  69. #define IDS_HELP                           0x0009
  70.  
  71. #define IDS_CLOCK                          0x000A
  72. #define IDS_ELAPSED                        0x000B
  73. #define IDS_MEMORY                         0x000C
  74. #define IDS_VIRTUAL                        0x000D
  75. #define IDS_SWAPSIZE                       0x000E
  76. #define IDS_SWAPFREE                       0x000F
  77. #define IDS_SWAPSLACK                      0x0010
  78. #define IDS_SPOOLSIZE                      0x0011
  79. #define IDS_CPULOAD                        0x0012
  80. #define IDS_TASKCOUNT                      0x0013
  81. #define IDS_PROCESSCOUNT                   0x0014
  82. #define IDS_THREADCOUNT                    0x0015
  83. #define IDS_TOTALFREE                      0x0016
  84. #define IDS_DRIVE_FREE                     0x0017
  85.  
  86. #define IDS_DRIVEERROR                     0x0018
  87.  
  88. #define IDS_PARAMETERLIST                  0x0019
  89. #define IDS_PARMS_RESET                    0x001A
  90.  
  91. #define IDS_ERROR_PRFOPENPROFILE           0x001B
  92. #define IDS_ERROR_CREATEHELP               0x001C
  93. #define IDS_ERROR_CREATEFRAME              0x001D
  94. #define IDS_ERROR_WINREGISTERCLASS         0x001E
  95. #define IDS_ERROR_CREATECLIENT             0x001F
  96. #define IDS_ERROR_DOSGETCTRYINFO           0x0020
  97. #define IDS_ERROR_BADCODEPAGE              0x0021
  98.  
  99. #define IDS_DAY                            0x0022
  100. #define IDS_DAYS                           0x0023
  101. #define IDS_DAYSOFWEEK                     0x0024
  102.  
  103. #define IDS_EXCEPTION                      0x0025
  104.  
  105. #define IDS_HMERR                          0x8000
  106. #define IDS_HMERR_EXTHELPUNDEFINED         0x8001
  107. #define IDS_HMERR_NO_FRAME_WND_IN_CHAIN    0x8002
  108. #define IDS_HMERR_INVALID_ASSOC_APP_WND    0x8003
  109. #define IDS_HMERR_INVALID_ASSOC_HELP_IN    0x8004
  110. #define IDS_HMERR_INVALID_DESTROY_HELP_    0x8005
  111. #define IDS_HMERR_NO_HELP_INST_IN_CHAIN    0x8006
  112. #define IDS_HMERR_INVALID_HELP_INSTANCE    0x8007
  113. #define IDS_HMERR_INVALID_QUERY_APP_WND    0x8008
  114. #define IDS_HMERR_HELP_INST_CALLED_INVA    0x8009
  115. #define IDS_HMERR_HELPTABLE_UNDEFINE       0x800A
  116. #define IDS_HMERR_HELP_INSTANCE_UNDEFIN    0x800B
  117. #define IDS_HMERR_HELPITEM_NOT_FOUND       0x800C
  118. #define IDS_HMERR_INVALID_HELPSUBITEM_S    0x800D
  119. #define IDS_HMERR_HELPSUBITEM_NOT_FOUND    0x800E
  120. #define IDS_HMERR_INDEX_NOT_FOUND          0x800F
  121. #define IDS_HMERR_CONTENT_NOT_FOUND        0x8010
  122. #define IDS_HMERR_OPEN_LIB_FILE            0x8011
  123. #define IDS_HMERR_READ_LIB_FILE            0x8012
  124. #define IDS_HMERR_CLOSE_LIB_FILE           0x8013
  125. #define IDS_HMERR_INVALID_LIB_FILE         0x8014
  126. #define IDS_HMERR_NO_MEMORY                0x8015
  127. #define IDS_HMERR_ALLOCATE_SEGMENT         0x8016
  128. #define IDS_HMERR_FREE_MEMORY              0x8017
  129. #define IDS_HMERR_PANEL_NOT_FOUND          0x8018
  130. #define IDS_HMERR_DATABASE_NOT_OPEN        0x8019
  131. #define IDS_HMERR_UNKNOWN                  0x801A
  132. #define IDS_HELPMODE_FRAME                 0x801B
  133. #define IDS_HELPMODE_MENU                  0x801C
  134. #define IDS_HELPMODE_WINDOW                0x801D
  135. #define IDS_HELPMODE_UNKNOWN               0x801E
  136. #define IDS_HELPSUBITEMNOTFOUND            0x801F
  137.  
  138. #endif
  139.